package com.uyaer.wheel.display.widget
{
	public class HitPool
	{
		private static var hits:Vector.<Hit> = new Vector.<Hit>();
		public static function getHit():Hit{
			if(hits.length>0){
				return hits.pop();
			}else{
				return new Hit();
			}
		}
		
		public static function recycleHit(hit:Hit):void{
			hit.removeFromParent();
			hits.push(hit);
		}
	}
}